<?php

class ZFDulcet_View_Helper_FormErrors extends Zend_View_Helper_FormErrors {
	protected $_htmlElementEnd       = '</div>';
    protected $_htmlElementStart     = '<div%s>';
    protected $_htmlElementSeparator = '<br>';
	
	public function formErrors($errors, array $options = null) {
		 if (empty($options['class'])) {
            $options['class'] = 'small_alert error';
        }
		
		return parent::formErrors($errors, $options);
	}
}